package com.liyunc.demo.service;

import com.liyunc.demo.model.entity.GoodsEntity;
import com.liyunc.demo.utils.Result;

import java.util.List;

public interface GoodsService {
    List<GoodsEntity> findAll();

    GoodsEntity findOne(long id);

    Result saveOrder(long goodsId, String userId);
}
